package com.opdar.athena.entities;

import com.opdar.athena.mapper.ProjectMapper;
import com.opdar.plugins.mybatis.annotations.Id;
import com.opdar.plugins.mybatis.annotations.Namespace;

import java.sql.Timestamp;

/**
 * Created by shiju on 2017/6/20.
 */
@Namespace(ProjectMapper.class)
public class ProjectEntity {
    @Id
    private String id;
    private String appId;
    private String appSecret;
    private String domain;
    private String salt;
    private Integer acceptOfflineMessage;
    private String name;
    private Timestamp createTime;
    private Timestamp updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getDomain() {
        return domain;
    }

    public Integer getAcceptOfflineMessage() {
        return acceptOfflineMessage;
    }

    public void setAcceptOfflineMessage(Integer acceptOfflineMessage) {
        this.acceptOfflineMessage = acceptOfflineMessage;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

}
